<!-- 录入管理 -->
<template>
  <div>
    <div class="tab">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="用电量录入" name="electric">
          <Electric 
            v-if="activeName == 'electric'"
          />
        </el-tab-pane>
        <el-tab-pane label="制冷面积录入" name="cold">
          <Cold
            v-if="activeName == 'cold'"
          />
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script>
import Electric from './Electric/index.vue'
import Cold from './Cold/index.vue'
export default {
    components: {
        Electric,
        Cold
    },
    data() {
        return {
            activeName: 'electric'
        }
    },
    methods: {
        handleClick() {
        }
    },
}
</script>
<style lang="scss" scoped>
::v-deep .el-tabs__nav-wrap::after {
  background-color: rgba(255, 255, 255, 0.10) !important;
}
</style>